

SELECT
<#list columns as column>
  `${column.column!}`<#if column_has_next>,</#if>
</#list>
FROM
  ${tableName!}
<where>

<#list pkColumns as pkColumn>
	<if test="key == '${pkColumn.column}' ">
		`${pkColumn.column}` = ${"#\{id}"}
	</if>
</#list>

</where>